* tparam.h: New file.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 18:26:34 +0000 (10:26 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 18:26:34 +0000 (10:26 -0800)
commitb43392f6950a90ec96f6aa6d9077b510a8d69633
treeb727150c742fe2a66985922c28ee905c53cb9af4
parent918f4f86c209eda369fdb390dca4a7a4fe8fc359
* tparam.h: New file.

* term.c, tparam.h: Include it.
* deps.mk (term.o, tparam.o): Depend on tparam.h.
* term.c (tputs, tgetent, tgetflag, tgetnum, tparam, tgetstr):
Move these decls to tparam.h, and make them agree with what
is actually in tparam.c.  The previous trick of using incompatible
decls in different modules does not conform to the C standard.
All callers of tparam changed to use tparam's actual API.
* tparam.c (tparam1, tparam, tgoto):
Use const pointers where appropriate.
src/ChangeLog
src/deps.mk
src/term.c
src/tparam.c
src/tparam.h [new file with mode: 0644]